from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template


urlpatterns = patterns('dolorinfantil2011.views',
    ('^$|^home$', direct_to_template, {'template': 'pages/home.html'
                                , 'extra_context': {'page' : 'home'} }),
    (r'^cientifico$', direct_to_template, {'template': 'pages/cientifico.html'
                                            , 'extra_context': {'page' : 'cientifico'}}),
    (r'^social$', direct_to_template, {'template': 'pages/social.html'
                                            , 'extra_context': {'page' : 'social'}}),
    (r'^organizacion$', direct_to_template, {'template': 'pages/organizacion.html'
                                            , 'extra_context': {'page' : 'organizacion'}}),
    (r'^lugar$', direct_to_template, {'template': 'pages/lugar.html'
                                            , 'extra_context': {'page' : 'lugar'}}),
    (r'^inscripcion$', 'registration')
)
